package main.java.game.item.trinketTreasure;


import java.util.List;

import main.java.game.Game;
import main.java.game.combatant.Hero;

public class DragonStone extends TrinketTreasure {
	
	public DragonStone (String name, Integer level, Integer sellingPrice){
		super(name,level,sellingPrice);
	}
	
	public void applyTrinket(Game game){
		List<Hero> heroes=game.getPlayer().getHeroes();
		for(Hero h: heroes){
			h.setInit(h.getInit()+2);
			h.setAttack(h.getAttack()+2);
			h.setDefense(h.getDefense()+2);
		}
	}
}
